<!-- form表单视图 -->
<div style="margin-top:30px">
    <form class="form-horizontal common-form" id="form-save" method="post" action="/sysconf/basic/save" onsubmit="return false;" autocomplete="off">
    <input type=hidden value="{{$row['id'] ?? ''}}" name="id" id="id">
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-mch_name" class="control-label col-xs-12 col-sm-2">
            <span style="color:red">*</span> 系统名称：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row">
                    <input  id="sys_name" class="form-control col-sm-5" name="sys_name" type="text" value="{{$row['sys_name'] ?? ''}}" placeholder="" data-rule="系统名称:required">
                    <span class="col-sm-7 color-6A6969"> 系台后台显示的名称。</span>
                </div>
                <span class="msg-box" style="position:static;" for="sys_name"></span>
            </div>
        </div>

        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-mch_name" class="control-label col-xs-12 col-sm-2">
            <span style="color:red">*</span> 风格设置：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row">
                    <select  class="form-control col-sm-5" id="themes" name="themes" data-rule="风格:required">
                        @foreach($style_list as $k=>$v)
                            <option value={{$k}} @if(isset($row['themes']) && $k == $row['themes']) selected @endif >{!! $v !!}</option>
                        @endforeach
                    </select>
                    <span class="col-sm-7 color-6A6969"> 选择后台风格。</span>
                </div>
                <span class="msg-box" style="position:static;" for="themes"></span>
            </div>
        </div>

        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-mch_name" class="control-label col-xs-12 col-sm-2">
                 每页显示：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row">
                    <input  id="page_limit" class="form-control col-sm-5" name="page_limit" type="text" value="{{$row['page_limit'] ?? '10'}}" placeholder="" data-rule="分页显示条数:required">
                    <span class="col-sm-7 color-6A6969"> 分页中每页显示记录的条数。</span>
                </div>
                <span class="msg-box" style="position:static;" for="page_limit"></span>
            </div>
        </div>
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-mch_name" class="control-label col-xs-12 col-sm-2">
                 分页列表：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row">
                    <input  id="page_list" class="form-control col-sm-5" name="page_list" type="text" value="{{$row['page_list'] ?? ''}}" placeholder="例 10,20,50,100 以逗号分隔" >
                    <span class="col-sm-7 color-6A6969"> 分页时可选的分页数列表。</span>
                </div>
                <span class="msg-box" style="position:static;" for="page_list"></span>
            </div>
        </div>
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-mch_name" class="control-label col-xs-12 col-sm-2">
                 货币标识：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row">
                    <input  id="money_flag" class="form-control col-sm-5" name="money_flag" type="text" value="{{$row['money_flag'] ?? ''}}" placeholder="例：￥" >
                    <span class="col-sm-7 color-6A6969"> 请输入货币金额标识。</span>
                </div>
                <span class="msg-box" style="position:static;" for="money_flag"></span>
            </div>
        </div>
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-mch_name" class="control-label col-xs-12 col-sm-2">
                 金额保留小数：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row">
                    <input  id="money_decimal" class="form-control col-sm-5" name="money_decimal" type="text" value="{{$row['money_decimal'] ?? ''}}" placeholder="例：2" >
                    <span class="col-sm-7 color-6A6969"> 请输入金额保留小数数值。</span>
                </div>
                <span class="msg-box" style="position:static;" for="money_decimal"></span>
            </div>
        </div>
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-mch_name" class="control-label col-xs-12 col-sm-2">
                版权信息：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row">
                    <input  id="copyright" class="form-control col-sm-5" name="copyright" type="text" value="{{$row['copyright'] ?? ''}}" placeholder="例：xxx有限公司版权所有" >
                    <span class="col-sm-7 color-6A6969"> 请输入版权限信。</span>
                </div>
                <span class="msg-box" style="position:static;" for="copyright"></span>
            </div>
        </div>
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-mch_name" class="control-label col-xs-12 col-sm-2">
                备案号：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row">
                    <input  id="ipc" class="form-control col-sm-5" name="ipc" type="text" value="{{$row['ipc'] ?? ''}}" placeholder="例：ICP备081xxxx69号-2" >
                    <span class="col-sm-7 color-6A6969"> 请输入备案号。</span>
                </div>
                <span class="msg-box" style="position:static;" for="ipc"></span>
            </div>
        </div>
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-mch_name" class="control-label col-xs-12 col-sm-2">
                权重：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row">
                    <input  id="ipc" class="form-control col-sm-5" name="sort" type="text" value="{{$row['sort'] ?? ''}}" placeholder="例：100" >
                    <span class="col-sm-7 color-6A6969"> 权重最大的优先选用。</span>
                </div>
                <span class="msg-box" style="position:static;" for="sort"></span>
            </div>
        </div>
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-mch_name" class="control-label col-xs-12 col-sm-2">开启验证码：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row radios">
                    <div style="display: inline-block;padding-top: 5px;padding-left: 0" class="col-sm-5">
                        @component('component/radio',['radio'=>[1=>'是',0=>'否'],'name'=>'is_open_captcha','default_key'=>$row['is_open_captcha']??0])
                        @endcomponent
                    </div>
                    <span class="col-sm-7 color-6A6969"> 是则开启整站验证码，否为不开启。</span>
                </div>

                <span class="msg-box" style="position:static;" for="is_open_captcha"></span>
            </div>
        </div>
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-mch_name" class="control-label col-xs-12 col-sm-2">操作提示：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row radios">
                    <div style="display: inline-block;padding-top: 5px;padding-left: 0" class="col-sm-5">
                        @component('component/radio',['radio'=>[1=>'是',0=>'否'],'name'=>'is_tips','default_key'=>$row['is_tips']??0])
                        @endcomponent
                    </div>
                    <span class="col-sm-7 color-6A6969"> 是否开启操作提示。</span>
                </div>

                <span class="msg-box" style="position:static;" for="is_open_captcha"></span>
            </div>
        </div>


    </form>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-3F51B5 btn-sure btn-submit">确定</button>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <button type="reset" class="btn btn-write btn-reset">重置</button>
        </div>
    </div>
</div>

